Js Object
A JavaScript object.
Allows accessing the object's properties and calling its functions. The JavaScript object is alive while the web page where the object was created is loaded. When the web page is unloaded, all the JavaScript objects will be automatically disposed. Access to the already disposed JavaScript object will lead to the IllegalStateException.
Inheritors
Functions
Link copied to clipboard
Checks whether this JavaScript object or any of its prototypes has a property with the given
jsSymbol key.Checks whether this JavaScript object or any of its prototypes has an enumerable property with the given
name.Link copied to clipboard
Returns an immutable list of the names of the properties of this JavaScript object, both enumerable and non-enumerable, excluding the properties from the prototype objects.
Link copied to clipboard
Returns an immutable list of the symbol properties of this JavaScript object, excluding the properties from the prototype objects.
Link copied to clipboard
Returns an
Optional describing the value of the JavaScript object's property with the given jsSymbol key or an empty Optional if there is no such property or its value is undefined.Returns an
Optional describing the value of the JavaScript object's property with the given name or an empty Optional if there is no such property or its value is undefined.Link copied to clipboard
Returns an immutable list of the names of the enumerable properties of this JavaScript object, including the properties from the prototype objects.
Link copied to clipboard
Creates a new property with the given
jsSymbol key or updates the existing one in the current JavaScript object and returns true if the property with the given name was created or updated successfully.Creates a new property with the given
name or updates the existing one in the current JavaScript object and returns true if the property with the given name was created or updated successfully.Link copied to clipboard
Removes a property with the given
jsSymbol key in the JavaScript object and returns true if the property was successfully removed.Removes a property with the given
name in the JavaScript object and returns
true if the property was successfully removed.